package com.ruoyi.oa.mapper;

import com.ruoyi.common.annotation.DataColumn;
import com.ruoyi.common.annotation.DataPermission;
import com.ruoyi.oa.domain.OaFinanceBudget;
import com.ruoyi.oa.domain.bo.OaFinanceBudgetBo;
import com.ruoyi.oa.domain.vo.OaFinanceBudgetVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import java.util.List;
import com.ruoyi.oa.domain.vo.OaProjectVo;

/**
 * 费用预算申请Mapper接口
 *
 * @author xiaoyan
 * @date 2023-05-22
 */
public interface OaFinanceBudgetMapper extends BaseMapperPlus<OaFinanceBudgetMapper, OaFinanceBudget, OaFinanceBudgetVo> {
    @DataPermission({
        @DataColumn(key = "deptName", value = "dept_id"),
        @DataColumn(key = "userName", value = "user_id")
    })
    List<OaFinanceBudgetVo> queryByCondition(OaFinanceBudgetBo bo);


    /**
     * 获取没有采购流程的项目信息
     * @return
     */
    List<OaProjectVo> getProjectList();
}
